********************************************************************************************

HTML Macros by Dale Richmond
fdale@swbell.net
http://www.swbell.net/fdale

Comments are welcome!

REVISION 5.6, DATE: October 7, 2009

All the below programming code is directly copied from the "HTML v5.6.mac" file.

All of these codes for each macro can be directly copied and pasted into the UltraEdit
macro list for each macro, or for only the ones you choose to use in your macro list.
Copy the text only between the titles of the macros and name them whatever you wish
or you can copy the "Macro List" names into the actual "name" of your macro.

PRINTING this document is best printed with page setup showing margins as noted:

FONT: 10pt Courier New (changing the font size WILL effect the print out number of pages!)
TOP: 1.0"
BOTTOM: 1.0"
RIGHT: 0.3"
LEFT: 0.75"
Margins settings will print approximately 15 pages using 8 1/2" x 11" paper (portrait)

********************************************************************************************
------------------+------------------------------------------------------+------------------
                  |      MACRO PROGRAMMING CODE FOR HTML V5.6 MACROS     |
------------------+-------------------------------------------------------------------------
Macro Shortcut Key|
and               | Macro List Title
Macro Programming |
------------------+-------------------------------------------------------------------------

------------------+-------------------------------------------------------------------------
MACRO CODES & KEY | Alt+Ctrl+NUMBER MACROS
------------------+-------------------------------------------------------------------------
------------------+-------------------------------------------------------------------------
Alt+Ctrl+1        | AC-1 <h1>heading
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<h1>"
Paste
"</h1>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+2        | AC-2 <h2>heading
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<h2>"
Paste
"</h2>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+3        | AC-3 <h3>heading
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<h3>"
Paste
"</h3>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+4        | AC-4 <h4>heading
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<h4>"
Paste
"</h4>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+5        | AC-5 <h5>heading
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<h5>"
Paste
"</h5>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+6        | AC-6 <h6>heading
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<h6>"
Paste
"</h6>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------

------------------+-------------------------------------------------------------------------
MACRO CODES & KEY | Alt+Ctrl+LETTER MACROS
------------------+-------------------------------------------------------------------------

------------------+-------------------------------------------------------------------------
Alt+Ctrl+A        | AC-A Remove Link
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Find "<a href"
StartSelect
Find Select ">"
EndSelect
Key DEL
Find "</a>"
Key DEL
------------------+-------------------------------------------------------------------------
Alt+Ctrl+B        | AC-B Blank Space
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
"&nbsp; "
------------------+-------------------------------------------------------------------------
Alt+Ctrl+C        | AC-C Clr Clipbrd
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+D        | AC-D <td>TblData
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<td>"
Paste
"</td>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+E        | AC-E Erase Codes
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Find RegExp "<"
StartSelect
Find RegExp Select ">"
EndSelect
Key DEL
------------------+-------------------------------------------------------------------------
Alt+Ctrl+F        | AC-F Frames form
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Top
Key HOME
"<html>
<head>
<title></title>
</head>
<!-- DO NOT USE <BODY> COMMANDS WITH FRAMES -->
<!-- ROWS or COLS values=pixels,#%, or * -->
<frameset rows="*,*" frameborder="yes" marginwidth=1 border=1 scrolling="yes">
<frame src="frame1.html" NAME="frame1">
<frame src="frame2.html" NAME="frame2">
</frameset>
</html>
"
Top
Key HOME
------------------+-------------------------------------------------------------------------
Alt+Ctrl+G        | AC-G ChgQuotes""
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Key Ctrl+HOME
UltraEditReOn
Find MatchCase "“"
Replace All """
Find MatchCase "”"
Replace All """
Find MatchCase "‘"
Replace All "'"
Find MatchCase "’"
Replace All "'"
EndSelect
------------------+-------------------------------------------------------------------------
Alt+Ctrl+H        | AC-H <th> TblHdr
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<th>"
Paste
"</th>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+I        | AC-I Image Erase
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Find "<img"
StartSelect
Find Select ">"
EndSelect
Key DEL
------------------+-------------------------------------------------------------------------
Alt+Ctrl+J        | AC-J Jave Script
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
"<!-- ***Change the "filename.js" below as required*** -->
<script language="JavaScript" type="text/javascript" src="filename.js"></script>"
Key HOME
------------------+-------------------------------------------------------------------------
Alt+Ctrl+K        | AC-K <kbd> KeyBd
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<kbd>"
Paste
"</kbd>"
Loop 6
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+L        | AC-L <li> List
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<li>"
Paste
"</li>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+M        | AC-M <marquee>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<marquee>"
Paste
"</marquee>"
Loop 10
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+N        | AC-N <nobr>NoBrk
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<nobr>"
Paste
"</nobr>"
Loop 7
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+O        | AC-O<td colspan>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<td colspan= >"
Paste
"</td>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+P        | AC-P <pre>format
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<pre width= >"
Paste
"</pre>"
Loop 6
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+Q        | AC-Q Dbl"Quotes"
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"""
Paste
"""
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+R        | AC-R <tr> TblRow
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<tr>"
Paste
"</tr>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+S        | AC-S <embed src>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<embed src=""
Paste
"" autostart="TRUE" loop="FALSE" width="2" height="0" align="CENTER" hidden="TRUE"></embed>"
Key HOME
Loop 12
Key RIGHT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+T        | AC-T CODES>lower
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Find "<"
Key Ctrl+LEFT ARROW
StartSelect
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
ToUpper
EndSelect
Key RIGHT ARROW
------------------+-------------------------------------------------------------------------
Alt+Ctrl+U        | AC-U codes>UPPER
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Find "<"
Key Ctrl+LEFT ARROW
StartSelect
Key Ctrl+RIGHT ARROW
Key Ctrl+RIGHT ARROW
ToUpper
EndSelect
Key RIGHT ARROW
------------------+-------------------------------------------------------------------------
Alt+Ctrl+V        | AC-V <var>iable
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<var>"
Paste
"</var>"
Loop 6
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Alt+Ctrl+W        | AC-W width="#"
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
"width="
------------------+-------------------------------------------------------------------------
Alt+Ctrl+X        | AC-X InvCmntText
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Find "<!--"
StartSelect
Find Select ">"
EndSelect
InvertCase
Key END
------------------+-------------------------------------------------------------------------
Alt+Ctrl+Y        | AC-Y ClrTrailSpc
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
TrimTrailingSpaces
------------------+-------------------------------------------------------------------------
Alt+Ctrl+Z        | AC-Z ClrLeadSp
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Top
Key HOME
Find RegExp "%[!^t ]+"
Replace All ""
------------------+-------------------------------------------------------------------------

------------------+-------------------------------------------------------------------------
MACRO CODES & KEY | Ctrl+Shift+LETTER MACROS
------------------+-------------------------------------------------------------------------

------------------+-------------------------------------------------------------------------
Ctrl+Shift+A      | CS-A <address>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<address>"
Paste
"</address>"
Loop 10
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+B      | CS-B <b> bold
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<b>"
Paste
"</b>"
Loop 4
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+C      | CS-C <center>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<center>"
Paste
"</center>"
Loop 9
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+D      | CS-D <div></div>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<div>"
Paste
"</div>"
Loop 6
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+E      | CS-E <br>eakLine
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
"<br>"
------------------+-------------------------------------------------------------------------
Ctrl+Shift+F      | CS-F <font>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<font color= face= size= >"
Paste
"</font>"
Loop 7
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+G      | CS-G <img src>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<img src=""
Paste
"">"
Key LEFT ARROW
Key LEFT ARROW
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+H      | CS-H html form
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Top
Key Ctrl+HOME
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//ENhttp://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- *** Add your "title" text below *** -->
<title></title>
</head>
<body bgcolor="#ffffff">

</body>
</html>"
Key Ctrl+HOME
Loop 8
Key DOWN ARROW
EndLoop
------------------+-------------------------------------------------------------------------
Ctrl+Shift+I      | CS-I <i> italic
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<i>"
Paste
"</i>"
Loop 4
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+J      | CS-J Java.js
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
"<!-- start

// Save this document as a .js file with YOUR desired filename
// NOTE: If you use a ' add a slash before it like this \'
// Start line with double slash lines for comments
// Place a link to open an HTML, HTM file or a URL
// Change the URL from http://www.ultraedit.com to your desired URL link or filename.htm
document.write('<a href="http://www.ultraedit.com" target="_new">Your Link Text Here</a>');
// End -->"
Key HOME
Loop 2
Key UP ARROW
EndLoop
------------------+-------------------------------------------------------------------------
Ctrl+Shift+K      | CS-K<td colspan>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<td colspan= >"
Paste
"</td>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+L      | CS-L <a href>url
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<a href="" target="">"
Paste
"</a>"
Loop 4
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+M      | CS-M mailto:
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<a href="mailto: username@server.com?subject=SUBJECT TEXT HERE">"
Paste
"</a>"
Loop 4
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+N      | CS-N <a name="">
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<a name="">"
Paste
"</a>"
Find Up "<A"
Loop 7
Key RIGHT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+O      | CS-O <ol> list
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<ol>
"
Paste
"
</ol>"
Key HOME
Key UP ARROW
Key END
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+P      | CS-P <p></p>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<p>"
Paste
"</p>"
Loop 4
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+Q      | CS-Q Sgl 'Quote'
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"'"
Paste
"'"
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+R      | CS-R<td rowspan>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<td rowspan= >"
Paste
"</td>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+S      | CS-S<bg  source>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<bg source=""
Paste
"">"
Key LEFT ARROW
Key LEFT ARROW
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+T      | CS-T <table><tr>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<table bgcolor="#ffffff" border="1" cellpadding= cellspacing= >
<tr>
<td>"
Paste
"</td>
</tr>
</table>"
Key HOME
Key UP ARROW
Key UP ARROW
Key END
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+U      | CS-U <ul> list
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<ul>
"
Paste
"
</ul>"
Loop 5
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+V      | CS-V <sup>script
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<sup>"
Paste
"</sup>"
Loop 6
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+W      | CS-W <sub>script
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<sub>"
Paste
"</sub>"
Loop 6
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+X      | CS-X <!--* *-->
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<!-- *** "
Paste
" *** -->"
Loop 8
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+Y      | CS-Y<blockquote>
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
Cut
"<blockquote>
"
Paste
"
</blockquote>"
Loop 13
Key LEFT ARROW
EndLoop
ClearClipboard
------------------+-------------------------------------------------------------------------
Ctrl+Shift+Z      | CS-Z <hr>HrzLine
------------------+-------------------------------------------------------------------------
InsertMode
ColumnModeOff
HexOff
"<hr>"
------------------+-------------------------------------------------------------------------
END OF MACROS     |
------------------+-------------------------------------------------------------------------
